package org.example.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;
import java.util.List;

@RestController
@RequestMapping("/third")
public class ThirdCotroller {
    @RequestMapping("/a")
    public String a() {
        return "a";
    }
    @RequestMapping("/b")
    public List<Integer> b() {
        return Arrays.asList(1,2,3,4);
    }
}
